<?php
namespace app\common\model;

use app\extra\BaseModel;
use app\extra\DBCont;

class Message extends BaseModel
{
    use \think\model\concern\SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $auto = ['ip'];
    protected function setIpAttr()
    {
        return request()->ip();
    }
}